import request from "@/utils/request.js";


export function findCart(id){
    return request({
        url:"/zhentao-cart/cart/findByUserId?id="+id,
        method:"post"
    })
}

export function add(data){
    return request({
        url:"/zhentao-cart/cart/add",
        method:"post",
        data:data
    })
}